package com.isoft.illustrationsdraw.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

@Data
@TableName("users")
public class User {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String email;
    private String nickname;
    private String description;
    private String profileImg;
    private int subsLevelForFans;
    private boolean acceptsCommissions;
    private int followersCount;
    private int isBanned;
}
